package br.com.moxeon.model;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

import br.com.vexillum.model.CommonEntity;
import br.com.vexillum.model.annotations.SearchField;

@SuppressWarnings("serial")
@MappedSuperclass
public class MonxeonPersistentEntity extends CommonEntity implements IMoxeonPersistentEntity {

	@SearchField
	@Column(name="active", nullable=false, unique=false, updatable=true)
	protected Boolean active;

	public Boolean getActive() {
		return active;
	}

	public void setActive(Boolean active) {
		this.active = active;
	}

	public MonxeonPersistentEntity() {
		super();
		this.active = true;
	}

}